package com.baaio.bean;

import com.baaio.util.BaaioPropotype;


public class Study extends BaaioPropotype
{
	private Integer idstudy;
	private String name;
	private String password;
	
	private String text;
	
	private Float f;

	public Study()
	{
		this.PRIMARYKEY = "idstudy";
		
		
	}
	
	
	public String getName()
	{
	
		return name;
	}
	
	public void setName(String name)
	{
	
		this.name = name;
	}
	@Override
	public void setRelation()
	{

		setMeToOne("name",new Test());
//		setMeToOne("name",new Test2());
		
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public String getText() {
		return text;
	}
	public void setText(String text) {
		this.text = text;
	}


	public int getIdstudy() {
		return idstudy;
	}


	public void setIdstudy(int idstudy) {
		this.idstudy = idstudy;
	}


	public float getF() {
		return f;
	}


	public void setF(float f) {
		this.f = f;
	}

}
